home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #2 / Monster Media No. 2 (Monster Media)(1994).ISO / graphics / 3dv10.zip / 3DV.DOC < prev    next >
Text File  |  1994-06-14  |  8KB  |  169 lines

  1.                                     3DV
  2.                                Copyright 1994
  3.  
  4.                             By Terran Melconian
  5.  
  6. 1.0  Stereoscopic Images
  7. 1.1  How Stereoscopic Images Work
  8. 1.2  How To See Stereoscopic Images
  9. 2.0  This Program
  10. 2.1  Hardware Requirements
  11. 2.2  How To Run This Program
  12. 2.3  The Data File
  13.  
  14. 1.0  STEREOSCOPIC IMAGES
  15.  
  16.     Stereoscopic images make things appear in three dimensions, even though
  17. they are only two-dimensional.  Stereoscopic images are becoming popular
  18. with still photographs and stereoscopic T.V. is being developed.
  19.  
  20. 1.1  How Stereoscopic Images Work
  21.  
  22.     When you look, each of your eyes sees a slightly different image,
  23. because it is not quite in the same place as the other one.  To test this,
  24. look through one eye then the other, switching back and forth.  Close things
  25. will seem to move from side to side, but far away things will seem to stay
  26. in the same place.  Your brain puts these two images together and you seem
  27. to see only one image in which some things seem near and some things seem far.
  28. The things that moved from side to side the most when you looked through
  29. your eyes in sequence are the ones that appeared the closest when you looked
  30. through your eyes together.
  31.  
  32.     To create a stereoscopic image, a person uses two cameras side by side (or
  33. a special camera with two lenses).  He then takes two pictures, one taken
  34. from a position slightly to the right of the other.  When he looks at these
  35. pictures, he places the one that was taken by the right-hand camera on the
  36. right, and the one taken by the left-hand camera on the left.  His right eye
  37. sees the picture taken by the right-hand camera, and his left eye sees the
  38. picture taken by the left-hand camera.  He is therefore seeing exactly the
  39. same thing he would see if he was standing where his cameras had been when
  40. he took the pictures.  This program display a left-hand image and a right-hand
  41. image that look similar but not identical.  Your right eye sees one thing
  42. and you left eye sees another, so the image displayed appears to be
  43. three-dimensional.
  44.  
  45. 1.2  How to See Stereo Images
  46.  
  47.     If you just look at the images the way you usually look at a computer
  48. screen, both eyes will see both images, and it will look like two
  49. two-dimensional pictures.  You need to relax your eyes so that the two
  50. images split into four.  When you relax your eyes more, the center two will
  51. combine to become one, making a total of three.  Look at the center image
  52. and ignore the other two.
  53.  
  54.     Before you try to look at the screen, put your finger a few inches away
  55. from your nose and look at a distant wall.  You should see two images of the
  56. finger that are somewhat transparent.  Now put another finger parallel to
  57. the first one, a few inches to the side.  You should see four fingers.  Move
  58. one of the fingers in or out, as needed, until two of the "ghost fingers"
  59. join and become one solid one.  You should now see one solid finger and two
  60. transparent ones.  This is the effect you need to achieve to play the game,
  61. and you need to do it without the benefit of a wall behind the images.  When
  62. you can get these two lines to merge (that is, make three images with one of
  63. them solid), you're ready to play.  In the game, where the two images are
  64. slightly different, the center image (the solid one) will look
  65. three-dimensional.
  66.  
  67.                      |                          |
  68.                      |                          |
  69.                      |                          |
  70.                      |                          |
  71.                      |                          |
  72.                      |                          |
  73.                      |                          |
  74.                      |                          |
  75.                      |                          |
  76.                      |                          |
  77.                      |                          |
  78.                      |                          |
  79.  
  80.     If you're having trouble, there are a few things you can do that might
  81. help.  Try placing a piece of stiff paper or cardboard between the two
  82. lines.  One edge should touch the screen (or paper, if you printed this out)
  83. and the other edge should touch your nose.  You can also print this out (if
  84. you haven't) and hold the paper so that the two lines are at the top.  Then
  85. hold the paper so that behind it there is something far away.  Try to look
  86. at the wall and see if the lines merge.
  87.  
  88.     If you still can't do it, keep trying.  Sometimes it takes days to get
  89. it.  There are special viewers that help you see stereoscopic images, but
  90. unfortunately I had no way of including one with my program.  If you can't
  91. seem to get it any other way, and you really want to be able to see it,
  92. consider purchasing a viewer (they often come with cards of stereoscopic
  93. images).  You can find them in places like your Science Musuem Gift Shop.
  94. It is also possible to reverse the images so that you can look at them
  95. cross-eyed.  My programs do not support this because it is tiring and
  96. painful, and no one would want to look for long that way.  If you want it,
  97. though, mail me and I'll include it in a future version.
  98.  
  99. 2.0  THIS PROGRAM
  100.  
  101.     This program, 3DV, will take information which you have entered in a
  102. data file and convert it to a stereoscopic display.  Stereoscopic images are
  103. usually quite difficult to make.  One method is to use a CADD program and
  104. take two different views, one from a viewpoint slightly to the left of the
  105. other.  While producing reasonably high quality results, this method is
  106. time-consuming and is not practical as an introduction to stereoscopic
  107. images.  This program is designed to introduce the user to the world of
  108. stereoscopic images and to allow the user to create simple images.
  109.  
  110.     This program is distributed as Freeware (it is copyrighted but you can
  111. distribute it freely and not feel guilty).  The display routines for 3DV are
  112. written in C.  Anyone wishing to incorporate stereoscopic graphics into
  113. his own program can contact me to purchase the routines for a small fee.
  114.  
  115.     When you run the program (described below), you will see two images.
  116. You should view them as described in sections 1.x.  That's all there is to
  117. it.  Future versions of the program will allow you to rotate the images and
  118. zoom in/out, but this version simply allows you to look at them.
  119.  
  120.     If there is a demand, future releases of this program will contain the
  121. capacity to generate a red/blue image to be used with red/blue 3D glasses.
  122. While this picture is generally inferior to the one produced by relaxing
  123. your eyes, almost anyone can put on some glasses while about 1/3 of all
  124. people never master the technique required to view the two separate images.
  125.  
  126. 2.1  Hardware Requirements
  127.  
  128.     This display requires a VGA monitor and appropriate supporting
  129. hardware.
  130.  
  131. 2.2  How To Run This Program
  132.  
  133.     The command line for the program is quite simple:
  134.  
  135. 3DV [3dv datafile]
  136.  
  137. The datafile is not optional -- without it the program will not do anything.
  138.  
  139. 2.3  The Data File
  140.  
  141.     There are three different commands you can give in the data file.  The
  142. first is "c" for color.  This sets the drawing color to be used until
  143. another color command is encountered.  The next command is "p" for point.
  144. This command must be followed by three numbers -- the X, Y, and Z
  145. coordinates of the point to display.  X and Y coordinates range from 0 to
  146. 200 while Z coordinates range from 0 to 400.  The 0 coordinate for
  147. everything is in the lower-left front corner:
  148.  
  149. Y
  150.                  Z (into screen)
  151. |              /
  152. |            /
  153. |          /
  154. |        /
  155. |      /
  156. |    /
  157. |  /
  158. |/
  159. |------------------------------- X
  160.  
  161. A Z coordinate of 400 is right at the vanishing point, so a maximum of 200
  162. or 300 is recommended.  The third option acceptable in the command file is
  163. "l" for line.  The line command requires six numbers, three for the first
  164. point and three for the second point.  Future versions will also include "r"
  165. for a filled rectangle.  In addition to these commands, any line beginning
  166. with a semicolon will be treated as a comment and ignored.  Beginning a line
  167. with anything but these four symbols will result in an error.  The sample
  168. data file, 3dv.dat, give a simply idea of how data files work.
  169.